package com.cskaoyan.mall.model.enmu;

public enum CommentRating {
    /**
     * 好评
     */
    POSITIVE_COMMENT(80.0, "好评"),
    /**
     * 中评
     */
    NORMAL_COMMENT(60.0, "中评"),
    /**
     * 差评
     */
    NEGATIVE_COMMENT(0.0, "差评");

    private Double score;

    private String value;

    CommentRating(Double score, String value) {
        this.score = score;
        this.value = value;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
